config BR2_PACKAGE_ENCHANT
	bool "enchant"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	select BR2_PACKAGE_LIBGLIB2
	help
	  Enchant is a spell-checking library that provides a consistent
	  API across a number of spell-checking system backends.

	  http://www.abisource.com/projects/enchant/

comment "enchant requires a toolchain with C++, threading and WCHAR support enabled"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HAS_THREADS
